<!DOCTYPE html>
<html lang="en">

    <head>
        <title>Online Used Car and Byke Classified</title>
        <meta charset="utf-8">

        <link rel="stylesheet" type="text/css" media="screen" href="<?= base_url(); ?>css/style.css">

        <script type="text/javascript" src="<?= base_url(); ?>js/jquery-1.7.1.min.js"></script>
        <script type="text/javascript" src="<?= base_url(); ?>js/superfish.js"></script>
        <script type="text/javascript" src="<?= base_url(); ?>js/FF-cash.js"></script>
        <script type="text/javascript" src="<?= base_url(); ?>js/tabs.js"></script>

        <script type="text/javascript" src="<?= base_url(); ?>js/easyTooltip.js" ></script>
        <script type="text/javascript" src="<?= base_url(); ?>js/location.js" ></script>

        <script type="text/javascript">
            $(function(){
                $('form').jqTransform({imgPath:'images/'});
                $(".works-list a.tooltips").easyTooltip();
            });
        </script>



        <!--[if lt IE 7]>
   <div style=' clear: both; text-align:center; position: relative;'>
     <a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode">
       <img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." />
    </a>
  </div>
<![endif]-->
        <!--[if lt IE 9]>
                    <script type="text/javascript" src="js/html5.js"></script>
            <link rel="stylesheet" type="text/css" media="screen" href="css/ie.css">
            <![endif]-->
    </head>
    <body>
        <div class="main">
            <!--==============================header=================================-->
            <header>
                <?php include 'include/header.php'; ?>
            </header>
            <!--==============================content================================-->
            <section id="content">
                <div class="container_12">
                    <div class="wrapper marg_bottom_1">
                        <!-- REGISTRATION PART START --->

                        <div class="grid_6">
                            <div class="tabs tabs_var1">
                                <ul class="nav">
                                    <?php if ($type == 2) { ?>
                                        <li><a href="#individual_tab">Indivisual</a></li>
                                        <li class="selected"><a href="#dealer_tab">Dealer / Agent</a>  </li>
                                    <?php } else { ?>
                                        <li  class="selected"><a href="#individual_tab">Indivisual</a></li>
                                        <li><a href="#dealer_tab">Dealer / Agent</a>  </li>
                                    <?php } ?>
                                </ul>
                                <div class="clear"></div>
                                <div class="tabs_1">
                                    <div id="individual_tab" class="tab-content">
                                        <div class="inner">
                                            <form id="form-individual" method="post" action="<?= base_url(); ?>member/new_member_submit/1">
                                                <div class="rowElem">
                                                    <div class="block-underline">
                                                        <h2>New Registration : Individual</h2>
                                                        <label><strong>All fields are mandatory</strong></label>
                                                    </div>

                                                    <?php if ($this->session->flashdata('message')) { ?>
                                                        <div id="message"> <?= $this->session->flashdata('message'); ?></div>
                                                    <?php } ?>
                                                    <div class="clear"></div>    
                                                    <div class="fleft">
                                                        <label><strong>First Name:</strong></label>
                                                        <div id="validation"><?php echo form_error('ind_fname'); ?></div>
                                                        <input name="ind_fname" type="text" size="20" value="<?php echo set_value('ind_fname'); ?>"> </input>
                                                    </div>
                                                    <div class="fleft marg_left">
                                                        <label><strong>Last Name:</strong></label>
                                                        <div id="validation"><?php echo form_error('ind_lname'); ?></div>
                                                        <input name="ind_lname" type="text" size="20" value="<?php echo set_value('ind_lname'); ?>"> </input>
                                                    </div>                                    
                                                    <div class="clear"></div>        
                                                </div>

                                                <div class="rowElem">
                                                    <div class="fleft">
                                                        <label><strong>Email:</strong></label>
                                                        <div id="validation"><?php echo form_error('ind_email'); ?></div>
                                                        <input name="ind_email" type="text" size="20" value="<?php echo set_value('ind_email'); ?>"> </input>
                                                    </div>
                                                    <div class="fleft marg_left">
                                                        <label><strong>Confirm Email:</strong></label>
                                                        <div id="validation"><?php echo form_error('ind_cemail'); ?></div>
                                                        <input name="ind_cemail" type="text" size="20" value="<?php echo set_value('ind_cemail'); ?>"> </input>
                                                    </div>                                    
                                                    <div class="clear"></div>        
                                                </div>

                                                <div class="rowElem">
                                                    <div class="fleft mini_col" style="float: left">
                                                        <label><strong>Area Code:</strong></label>
                                                        <div id="validation"><?php echo form_error('ind_areacode'); ?></div>
                                                        <input name="ind_areacode" type="text" size="5" value="<?php echo set_value('ind_areacode'); ?>" style="width: 60px"> </input>
                                                    </div>

                                                    <div class="fleft mid_col" style="float: left">
                                                        <label><strong>Land line No:</strong></label>
                                                        <div id="validation"><?php echo form_error('ind_landline'); ?></div>
                                                        <input name="ind_landline" type="text" size="11" value="<?php echo set_value('ind_landline'); ?>" style="width: 125px"> </input>
                                                    </div>

                                                    <div class="fleft marg_left" >
                                                        <label><strong>Mobile No:</strong></label>
                                                        <div id="validation"><?php echo form_error('ind_mobile'); ?></div>
                                                        <input name="ind_mobile" type="text"  size="11" value="<?php echo set_value('ind_mobile'); ?>" style="width: 125px"> </input>
                                                    </div>
                                                    <div class="clear"></div>        
                                                </div>

                                                <div class="rowElem">
                                                    <div class="fleft">
                                                        <label><strong>State / Province:</strong></label>
                                                        <div id="validation"><?php echo form_error('ind_state'); ?></div>
                                                        <select name="ind_state" id="ind_state"  onChange="getCity_individual(this.value,'<?= base_url(); ?>');">
                                                            <option value=""> State </option>
                                                            <?php foreach ($state as $state): ?> 
                                                                <option value="<?= $state->id; ?>"><?= $state->state; ?></option>
                                                            <?php endforeach; ?>
                                                        </select>
                                                    </div>
                                                    <div class="fleft marg_left">
                                                        <label><strong>City:</strong></label>
                                                        <div id="validation"><?php echo form_error('ind_city'); ?></div>

                                                        <div id="citydiv">
                                                            <select name="ind_city" >
                                                                <option value="" selected> City </option>
                                                            </select>
                                                        </div>
                                                    </div>                                    
                                                    <div class="clear"></div>        
                                                </div>

                                                <div class="rowElem">
                                                    <div class="fleft" style="width: 450px">
                                                        </br>
                                                        <div id="validation"><?php echo form_error('ind_agree'); ?></div>
                                                        <input type="checkbox" name="ind_agree" value="I Agree" id="checkbox" />
                                                        &nbsp;<strong><a href="#"> I have read and agree with the User Agreement and Privacy Policy </a></strong>
                                                    </div>
                                                    <div class="clear"></div>        
                                                </div>

                                                <div class="rowElem">

                                                    <div class="clear"></div>
                                                    <a onClick="document.getElementById('form-individual').submit()" class="inline-block button_search color_1 bold"><span class="inline-block">Register Now</span></a>
                                                </div>
                                            </form>
                                        </div>
                                    </div>


                                    <!-- DEALER REGISTRATION -->
                                    <div id="dealer_tab" class="tab-content">
                                        <div class="inner">
                                            <form id="form-dealer" method="post" action="<?= base_url(); ?>member/new_member_submit/2">
                                                <div class="rowElem">
                                                    <div class="block-underline">
                                                        <h2>New Registration : Dealer or Agent</h2>
                                                        <label><strong>All fields are mandatory</strong></label>
                                                    </div>
                                                    <?php if ($this->session->flashdata('message')) { ?>
                                                        <div id="message"> <?= $this->session->flashdata('message'); ?></div>
                                                    <?php } ?>

                                                    <div class="rowElem">
                                                        <div class="fleft">
                                                            <label><strong>Business Name:</strong></label>
                                                            <div id="validation"><?php echo form_error('del_comp'); ?></div>
                                                            <input name="del_comp" type="text" size="45" value="<?php echo set_value('del_comp'); ?>" style="width: 475px"> </input>
                                                        </div>
                                                        <div class="clear"></div>        
                                                    </div>

                                                    <div class="fleft">
                                                        <label><strong>First Name:</strong></label>
                                                        <div id="validation"><?php echo form_error('del_fname'); ?></div>
                                                        <input name="del_fname" type="text" size="20" value="<?php echo set_value('del_fname'); ?>"> </input>
                                                    </div>
                                                    <div class="fleft marg_left">
                                                        <label><strong>Last Name:</strong></label>
                                                        <div id="validation"><?php echo form_error('del_lname'); ?></div>
                                                        <input name="del_lname" type="text" size="20" value="<?php echo set_value('del_lname'); ?>"> </input>
                                                    </div>                                    
                                                    <div class="clear"></div>      
                                                </div>

                                                <div class="rowElem">
                                                    <div class="fleft">
                                                        <label><strong>Email:</strong></label>
                                                        <div id="validation"><?php echo form_error('del_email'); ?></div>
                                                        <input name="del_email" type="text" size="20" value="<?php echo set_value('del_email'); ?>"> </input>
                                                    </div>
                                                    <div class="fleft marg_left">
                                                        <label><strong>Confirm Email:</strong></label>
                                                        <div id="validation"><?php echo form_error('del_cemail'); ?></div>
                                                        <input name="del_cemail" type="text" size="20" value="<?php echo set_value('del_cemail'); ?>"> </input>
                                                    </div>                                    
                                                    <div class="clear"></div>        
                                                </div>

                                                <div class="rowElem">
                                                    <div class="fleft mini_col" style="float: left">
                                                        <label><strong>Area Code:</strong></label>
                                                        <div id="validation"><?php echo form_error('del_areacode'); ?></div>
                                                        <input name="del_areacode" type="text" size="5" value="<?php echo set_value('del_areacode'); ?>" style="width: 60px"> </input>
                                                    </div>

                                                    <div class="fleft mid_col" style="float: left">
                                                        <label><strong>Land line No:</strong></label>
                                                        <div id="validation"><?php echo form_error('del_landline'); ?></div>
                                                        <input name="del_landline" type="text" size="11" value="<?php echo set_value('del_landline'); ?>" style="width: 125px"> </input>
                                                    </div>

                                                    <div class="fleft marg_left" >
                                                        <label><strong>Mobile No:</strong></label>
                                                        <div id="validation"><?php echo form_error('del_mobile'); ?></div>
                                                        <input name="del_mobile" type="text"  size="11" value="<?php echo set_value('del_mobile'); ?>" style="width: 125px"> </input>
                                                    </div>
                                                    <div class="clear"></div>        
                                                </div>

                                                <div class="rowElem">
                                                    <div class="fleft">
                                                        <label><strong>State / Province:</strong></label>
                                                        <div id="validation"><?php echo form_error('del_state'); ?></div>
                                                        <select name="del_state" id="ind_state"  onChange="getCity_dealer(this.value,'<?= base_url(); ?>');">
                                                            <option value=""> State </option>
                                                            <?php foreach ($dealer_state as $state): ?> 
                                                                <option value="<?= $state->id; ?>"><?= $state->state; ?></option>
                                                            <?php endforeach; ?>
                                                        </select>
                                                    </div>
                                                    <div class="fleft marg_left">
                                                        <label><strong>City:</strong></label>
                                                        <div id="validation"><?php echo form_error('del_city'); ?></div>

                                                        <div id="cityddiv">
                                                            <select name="del_city" >
                                                                <option value="" selected> City </option>
                                                            </select>
                                                        </div>
                                                    </div>                                    
                                                    <div class="clear"></div>        
                                                </div>
                                                
                                                <div class="rowElem">
                                                    <div class="fleft" style="width: 450px">
                                                        </br>
                                                        <div id="validation"><?php echo form_error('del_agree'); ?></div>
                                                        <input type="checkbox" name="del_agree" value="I Agree" id="checkbox" />
                                                        &nbsp;<strong><a href="#"> I have read and agree with the User Agreement and Privacy Policy </a></strong>
                                                    </div>
                                                    <div class="clear"></div>        
                                                </div>
                                                
                                                <div class="rowElem">

                                                    <div class="clear"></div>
                                                    <a onClick="document.getElementById('form-dealer').submit()" class="inline-block button_search color_1 bold"><span class="inline-block">Register Now</span></a>
                                                </div>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>





                        <!-- REGISTRATION PART END --->
                        <!--grid_6 -->
                        <?php include 'include/grid_6.php'; ?>
                        <!--grid_6 -->

                    </div> 

                    <!-- PART TWO -->
                    <div class="wrapper">
                        <div class="grid_9">

                            <div class="box_2">
                                <div class="title reg bold"> 
                                    <span class="inline-block fleft align_left">Search Result of Maruti Suzuki within budget bellow 3 lakh </span>
                                    <div class="clear"></div>
                                </div>
                                <div class="img_box"> 
                                    <a href="#">
                                        <img src="<?= base_url(); ?>images/car/maruti-suzuki-800.jpg" width="175" height="100" alt="">
                                        <p class="bold color_2">Maruti Suzuki : 800 (Non AC)</p>
                                        <span class="color_3">Price: <strong>Rs. 2,00,000</strong></span> 
                                    </a></br>
                                    <a href="#"> No Reviews </a> 
                                    <div class="clear"></div>
                                </div>
                                <div class="img_box"> 
                                    <a href="#">
                                        <img src="<?= base_url(); ?>images/car/maruti-suzuki-ertiga.jpg" width="175" height="100" alt="">
                                        <p class="bold color_2">Maruti Suzuki : 800 (Non AC)</p>
                                        <span class="color_3">Price: <strong>Rs. 2,00,000</strong></span> 
                                    </a></br>
                                    <a href="#"> No Reviews </a> 
                                    <div class="clear"></div>
                                </div>
                                <div class="img_box"> 
                                    <a href="#">
                                        <img src="<?= base_url(); ?>images/car/maruti-suzuki-estilo.jpg" width="175" height="100" alt="">
                                        <p class="bold color_2">Maruti Suzuki : 800 (Non AC)</p>
                                        <span class="color_3">Price: <strong>Rs. 2,00,000</strong></span> 
                                    </a></br>
                                    <a href="#"> No Reviews </a> 
                                    <div class="clear"></div>
                                </div>
                                <div class="img_box"> 
                                    <a href="#">
                                        <img src="<?= base_url(); ?>images/car/maruti-suzuki-gypsy.jpg" width="175" height="100" alt="">
                                        <p class="bold color_2">Lorem ste</p>
                                        <p class="font_1"> Labore et dolore magna aliqua. Ut enim ad minim veniam </p>
                                        <strong class="color_4">Year: 2009</strong> <br>
                                        <p><span class="color_3">Price: <strong>$20000</strong></span></p>
                                        <div class="clear"></div></a>
                                </div>
                                <div class="img_box"> 
                                    <a href="#">
                                        <img src="<?= base_url(); ?>images/car/maruti-suzuki-swift-dzire.jpg" width="175" height="100" alt="">
                                        <p class="bold color_2">Lorem ste</p>
                                        <p class="font_1"> Labore et dolore magna aliqua. Ut enim ad minim veniam </p>
                                        <strong class="color_4">Year: 2009</strong> <br>
                                        <p><span class="color_3">Price: <strong>$20000</strong></span></p>
                                        <div class="clear"></div></a>
                                </div>
                                <div class="img_box"> 
                                    <a href="#">
                                        <img src="<?= base_url(); ?>images/car/maruti-suzuki-swift.jpg" width="175" height="100" alt="">
                                        <p class="bold color_2">Lorem ste</p>
                                        <p class="font_1"> Labore et dolore magna aliqua. Ut enim ad minim veniam </p>
                                        <strong class="color_4">Year: 2009</strong> <br>
                                        <p><span class="color_3">Price: <strong>$20000</strong></span></p>
                                        <div class="clear"></div></a>
                                </div>
                                <div class="img_box"> 
                                    <a href="#">
                                        <img src="<?= base_url(); ?>images/car/maruti-suzuki-sx4.jpg" width="175" height="100" alt="">
                                        <p class="bold color_2">Lorem ste</p>
                                        <p class="font_1"> Labore et dolore magna aliqua. Ut enim ad minim veniam </p>
                                        <strong class="color_4">Year: 2009</strong> <br>
                                        <p><span class="color_3">Price: <strong>$20000</strong></span></p>
                                        <div class="clear"></div></a>
                                </div>
                                <div class="img_box"> 
                                    <a href="#">
                                        <img src="<?= base_url(); ?>images/car/maruti-suzuki-wogonr.jpg" width="175" height="100" alt="">
                                        <p class="bold color_2">Lorem ste</p>
                                        <p class="font_1"> Labore et dolore magna aliqua. Ut enim ad minim veniam </p>
                                        <strong class="color_4">Year: 2009</strong> <br>
                                        <p><span class="color_3">Price: <strong>$20000</strong></span></p>
                                        <div class="clear"></div></a>
                                </div>
                                <div class="img_box"> 
                                    <a href="#">
                                        <img src="<?= base_url(); ?>images/car/maruti-suzuki-alto.jpg" width="175" height="100" alt="">
                                        <p class="bold color_2">Lorem ste</p>
                                        <p class="font_1"> Labore et dolore magna aliqua. Ut enim ad minim veniam </p>
                                        <strong class="color_4">Year: 2009</strong> <br>
                                        <p><span class="color_3">Price: <strong>$20000</strong></span></p>
                                        <div class="clear"></div></a>
                                </div>


                                <div class="img_box"> 
                                    <a href="#">
                                        <img src="<?= base_url(); ?>images/car/maruti-suzuki-echo.jpg" width="175" height="100" alt="">
                                        <p class="bold color_2">Lorem ste</p>
                                        <p class="font_1"> Labore et dolore magna aliqua. Ut enim ad minim veniam </p>
                                        <strong class="color_4">Year: 2009</strong> <br>
                                        <p><span class="color_3">Price: <strong>$20000</strong></span></p>
                                        <div class="clear"></div>
                                    </a>
                                </div>

                                <div class="clear"></div>

                            </div>


                        </div>


                        <!--grid_9 -->
                        <?php include 'include/right.php'; ?>
                        <!--grid_9 end -->
                    </div> <!-- END OF PART TWO -->
                </div>
            </section>


            <!--==============================footer=================================-->
            <footer>
                <?php include 'include/footer.php'; ?>
            </footer>
        </div><!--MAIN -->




    </body>
</html>